Skip to content

Feat continuous update draw control option #1266

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

mangecoeur
Copy link
Contributor

Add "continuous_update" option to GeomanDrawControl which controls whether data is synced to the .data property on every change, coupled with a "sync_data" function that triggers syncing the Geoman edited data back to the traitlet. This allows for explicit data flow control e.g. when syncing edits with database commits.

…ptions to GeoJson constructor to fetch all synced values.
…safely removed without triggering an exception.
# Conflicts:
#	python/ipyleaflet/ipyleaflet/leaflet.py
#	python/jupyter_leaflet/src/controls/GeomanDrawControl.ts
#	python/jupyter_leaflet/src/layers/GeoJSON.ts
#	python/jupyter_leaflet/src/layers/Layer.ts
#	python/jupyter_leaflet/src/layers/Polygon.ts
#	python/jupyter_leaflet/src/layers/Polyline.ts
…ols whether data is synced to the .data property on every change, coupled with a "sync_data" function that triggers syncing the Geoman edited data back to the traitlet. This allows for explicit data flow control e.g. when syncing edits with database commits.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant